import request from "@/utils/request";

//获取奖金池配置
export function getConfig(configKey) {
  return request({
    url: `/system/config/configKey/${configKey}`,
    method: "get"
  });
}
//修改奖金池配置
export function changeConfig(data) {
  return request({
    url: "/system/config/alterConfig",
    method: "put",
    data: data
  });
}